package com.ruoyi.mining.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生信息对象 mn_student
 *
 * @author liyuxi
 * @date 2024-04-19
 */
@Data
@ToString
@ApiModel(value = "学生个人对象", description = "学生个人信息")
public class Student extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 学号 */
    private Long id;
    /** 姓名 */
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 电话1 */
    @ApiModelProperty(value = "电话1")
    private String phone;

    /** 电话1 */
    @ApiModelProperty(value = "电话1")
    private String phone1;

    /** 电话2 */
    @ApiModelProperty(value = "电话2")
    private String phone2;

    /** 身份证号码 */
    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    /** 家长姓名 */
    @ApiModelProperty(value = "家长姓名")
    private String parentName;

    /** 家庭地址 */
    @ApiModelProperty(value = "家庭地址")
    private String address;

    /** 现读学校 */
    @ApiModelProperty(value = "现读学校")
    private String school;

    /** 年级 */
    @ApiModelProperty(value = "年级")
    private String grade;

    /** 个人简介 */
    @ApiModelProperty(value = "个人简介")
    private String profile;

    /** 奥数成绩 */
    @ApiModelProperty(value = "奥数成绩")
    private String score;

    /** 上岸学校 */
    @ApiModelProperty(value = "上岸学校")
    private String landSchool;

    /** 学籍所在区 */
    @ApiModelProperty(value = "学籍所在区")
    private String schoolArea;

    /** 用户ID关联 */
    @ApiModelProperty(value = "用户ID关联")
    private Long userId;

    /** 培训机构 */
    @ApiModelProperty(value = "培训机构")
    private String trainOrg;
    @ApiModelProperty(value = "录入人")
    @Excel(name = "录入人")
    private String createUser;

    @ApiModelProperty(value = "录入日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String createDate;
}
